
<!--
    thiis is panel template
	注意:< % data % > 里的 data 是 var at = new Atemplate("data",data,"./views/panelA.html"); 中参数1
-->
<div>
    <h2>this is my Panel design by wuweiwei</h2>
    <div>
        <% for(i=0;i<data.list.length;i++) { %>
            <% for(v in data.list[i]) { %>
                <div>
                    <span><%=v%> : </span><span><%=data.list[i][v]%></span>
                </div>
            <% } %>
            <hr/>
        <% } %>
    </div>
    <div>
    	<button id="btn">click button</button>
    </div>
</div>

<script type="text/javascript">
var btn = document.getElementById("btn");
btn.onclick = function(){
	alert("Atemplate.js write by 邬畏畏\r\nwPanel.js write by 邬畏畏");
}
</script>
